package com.wu.datastructure.stack;

/**
 * @version v1.0
 * @ProjectName learning-java
 * @ClassName TestStack
 * @Description TODO
 * @Author wudl
 * @Date 2020/12/2 17:46
 */

public class TestStack {
    public static void main(String[] args) {

        ArrayStack<Integer> stack = new ArrayStack<>();

        for(int i = 0 ; i < 5 ; i ++){
            stack.push(i);
            System.out.println(stack);
        }

        System.out.println("11111111111111111");
        stack.pop();
        System.out.println(stack);


    }

}
